package com.ymj.netty.annotation;


import java.lang.annotation.*;

/**
 *  @Description: 基于Field，类似于@Autowired
 *                 例：@RemoteInvoke
 *                     private UserApi userApi;
 *  @author: yanmj
 *  @Date: 2020-06-07
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RemoteInvoke {
    boolean required() default true;
}
